package com.qing.springcloud.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 群组表
(chat_group)实体类
 *
 * @author zhipeng.cao
 * @since 2025-07-09 20:09:50
 * @description 由 Mybatisplus Code Generator 创建
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("chat_group")
public class ChatGroup extends Model<ChatGroup> implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
	private Long id;
    /**
     * 群名称
     */
    private String groupName;
    /**
     * 群头像
     */
    private String avatar;
    /**
     * 群创建者ID
     */
    private Long creatorId;
    /**
     * 群类型(0:普通群,1:企业群)
     */
    private Integer groupType;
    /**
     * 最大成员数	
     */
    private Integer maxMembers;
    /**
     * 0:正常,1:解散
     */
    private Integer status;
    /**
     * createdAt
     */
    private Date createdAt;
    /**
     * updatedAt
     */
    private Date updatedAt;

}